Work around an issue with clang-7 in Fedora 29 where the
`-fstack-clash-protection` flag is not recognized. Force
the compiler used by `g-ir-scanner` to `gcc`, so that the flag
is recognized.
Related: https://github.com/projectatomic/rpm-ostree/pull/1787#issuecomment-
473971585
Closes: #1871
Approved by: jlebon
libostree_1_la_LIBADD += $(OT_DEP_SELINUX_LIBS)
endif
+# XXX: work around clang being passed -fstack-clash-protection which it doesn't understand
+# See: https://bugzilla.redhat.com/show_bug.cgi?id=1672012
+INTROSPECTION_SCANNER_ENV = CC=gcc
+
if BUILDOPT_INTROSPECTION
OSTree-1.0.gir: libostree-1.la Makefile
OSTree_1_0_gir_EXPORT_PACKAGES = ostree-1